import { Outlet } from "react-router-dom"
function UserLayout() {
    return <div>
        <h1>这是父路由的内容</h1>
        <div style={{ width: '500px', height: '500px', border: '1px solid red' }}>
            {/* 子路由出口 */}
            <Outlet />
        </div>
    </div>
}

export default UserLayout